Fix function generative testing. Fixed testing of float64 returns to allclose.