added template attribute  to tests