Properly clear line in tests on failure.