migrating test database