Started trapping output of test cases. Should get input and stack traces
also