Remove monkeypatch from tests