test case for removeLocales added