Fix test depending on default locale

Change-Id: I4b90e01ddaa4535131df3262ac53a1e2e634b2ac