added tests for locales options