Added DOM instruction template test for templates