added test for locale support