Increase test coverage of relations/HtmlScript