Add test key and changed TEST_CONFIG to reflect
Pass t to testConnectionWrapper
Thread errors.