Proper way of streaming out data
Fixing test
Reduce the amount of queries required for object iteration
Make sure writes are immediate consistent for tests
More resilient test