fixed failure count so that non-zero exit code is return on test failure
Merge pull request #55 from krisb/exit_code

fixed failure count so that non-zero exit code is return on test failure