Removed scan method. Now we clear the dom with each template test