Fixing failing tests because ?locale= is appended to the end of the URL.

Switching from assertEquals to assertContains to be more flexible when
extensions like Translatable add query vars at the end of the links.
Merge pull request #2785 from halkyon/cmsmenu_test_fix

Fixing failing tests because ?locale= is appended to the end of the URL.