TRUNK-4429: Add check that default locale is amongst allowed locales lis...

...t
Yes, test fail if I don't remove this.