Anomaly: ignore rounding errors in tests

use assertAlmostEqual