Improper CU test checking

This will now return the number of tests failed in total rather than the number of asserts that failed in the last test.