Added more unit-tests for ui-templates.