Added support for failing the tests.