locales_test: improve failure message