Jasmine server integration and collections


how are you doing standard testing for collection stuff? I defined observers on server side and need to test data propogation between collections executed by these.

So I insert to collections and getting inconsistent results from testing, probably due to async execution.

How to do my insert/update preparations and than signal test itself to start ?
I mean setup that example document scenario in main describe part and when these are finished (in sync meaning) just than start to execute child describe parts.