Testing CBLLiveQuery observers in Swift crashes (when adding observer to the LiveQuery)

Hi there,
I am using the KVO mechanism in CBLLiveQuery in Swift and the application itself seems to be working fine.

But now I am writing tests (XCTest framework) and they crash consistently on startup (BAD ACCESS on

liveQuery.addObserver(self, forKeyPath: "rows", options: NSKeyValueObservingOptions.allZeros, context: nil)

Obviously, the “self” object conforms to the right protocol and so on…
This same line of code works when the app runs “for real”.

Does this ring any bell to anyone ?

Many thanks,
JM

Could this be the issue : http://stackoverflow.com/questions/20849690/kvo-addobserver-logic-crashes-in-xctest-test-method ?