Fixed reporting correct pass count by TestResult.toPrettyString() method.