change assertEqual to assertAlmostEqual