added monkeypatch test