added test for new template views