Fix test to check correct locale