fix (regression tests): make datastore queries strongly consistent

The previous tests were flaky because based on eventually consistent queries.
The new tests use only ancestor queries, that are strongly consistent.