resolved dependency problem with mockito and hamcrest
added methods to render templates from a stack in HtmlTemplateController