fix to return the test result