allow File::Temp to do it's job

File::Temp will unlink temp file
remove test to ensure temp file is unlinked (trust)
added functional tests for TemplateMethod