Added test for dynamic call of HTML templates