tests and fix
Merge pull request #2782 from digi604/fix-2778

tests and fix #2778 (session language not overwritten by url change)