Added ThreadLocale test case