Fixed the tests to use a connection pool.