resolve_url tests and added <link> support