Fix test result reporting