Report test case result; refactoring reporting.