Fix broken test dependencies.
fix broken tests due to the way exception handling has changed
test needs to dispose of connection
 - otherwise tests will hang