Adds tests for getTemplatePath and minor refactor
Changes getTemplatePath to use jake.createExec