Fixes #6: Only store the first error encountered for a test case