fix test when default locale's decimal separator is other than .