Added unit test for locale-awareness