fixed locale problem with fiat comparison in tests, added comments