add function for log the test result