Updated test for HTML templates