added the test case instance so web socket classes can use the sessions