** Fixed test database scripts