Allows all templates to be deleted with one operation

Completes TODOs in DeleteTemplatesTest