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

...t
Why are you removing this? Does the test fail if you don't?