Template test snippet

Add a snippet for a template test and fix the module controller snippet