Set up test case for saveTestResult