Fixed so failing unittests return ExitFailure.