Fix test result bug