Added error handling for test class instantiation and execution of test harness method.