Improve tests for OutputPage::makeResourceLoaderLink

Change-Id: I0880c2b92bcf96ca1d25952d55464bbfb755ade0
Merge "Improve tests for OutputPage::makeResourceLoaderLink"