Use correct exit code when running tests.

This pull requests resolves #621 and the functionality of Travis CI by causing `run_tests.py` to exit with exit code 1 should any test fail.

Ironically, this means that this PR's Travis build will fail where other PRs did not. (See: #619)