Reworked the test class so that other tests may connect to the test DB