add test for user provided template on a view