messageSender.testEnded was not called when a test failed.