changing to allclose instead of AlmostEqual to allow for relative tolerances