Tests on failures and errors in stead of test count (a little copy paste error on my part there)