Fixed expected_failure context manager tests