using self.assertAlmostEquals() instead of self.assertEqual()