reduce required precision in test. 1e-14 not always satisfied (maybe only on 32 bit installations?)