Work towards better mongo-livedata tests.

We should always wait for subscription to be ready
before calling methods if we expect to be able to read
the database within a method callback
Fix some mongo-livedata tests