Fixed case when switching language from wordpress

Fixed tests