migrating db to test environment