Made the CasMock aware of the language setting for locale testing