Refactor locale test
Add change locale links
Add test for change locale links