Fixed testFailure issue