Make monkeypatch test pass