Updating HTMLResource test to take into accounts templates within template tag.