Fix a race between tests

The test cases depend on the database state as modified by
the sequential tests, but the test case for create did not
wait on the promise.
Merge pull request #1 from mzabaluev/fix-test

Fix a race between tests