Replace fail test with the die function.