Fix the ITestResult getInstance == null bug