added missing templateView tests