test(changeLanguage): fix a failing test case + better deprecation message