add unit test fot method getLocaleString of message model class