These are basically the old `canonicalize_link` test cases  moved over and updated to use newer Rspec syntax.