Exit with a failure if the tests do not pass.

Resolves #8