fixes #7

Developers can now specify whether they want the process to exit with an error code if the tests fail.