Use assertAlmostEqual instead of assertEqual, to avoid test failing for rounding different behaviors