Fix test with non-english locale

originally included in #129