bug 8649: make sure we can exit if a test fails