Cleanup: Correct out-by-1 error in number of tests (failed case)