Update test cases to count for the corrected error reporting.