Infrastructure tests

Same as before. In general, when "copying" links just to change the `rel`, copy all fields, not just the "href".