Fold test running into run_coverage.py, correct exit codes.

This will need less time on Travis.