Fix canonical URL tests.