monkeypatch phpunit segmention faults