Bug fix

The connection object was global for all the test cases in a suite, when a test case in the suite failed which used this object the next consecutive test case that used the same object also failed

To fix this the object was made local for all the test cases in a suite.