refactoring to remove dealing with Peak ivar state in two places
monkeypatch Peak.clear in spec/ instead of defining it lib/