tests on template element