Follow minitest API, and use result_code to label the test result