Changed isFailure to look at error count as well as failure count. Addresses issue #4
0.2.4