Add mechanism for aborting tests.