fix testcase on locale change
Merge pull request #287 from szetobo/fix_test_case

fix testcase on locale change