adding tests for TestResult