TEST: fixing randomly failing test

On my box this test would fail for errors on the order of 1e-15