Ensure that the test database initialization completes before running tests.