Refactored ConnectionTest to perform test setup in @Before method rather than statically