minor change for locale-aware ClassGenericsTest, only perform the locale-aware tested functions in expected locales