integration test can now connect to database