resourceloader: Add test for ClientHtml passing down 'target'