Adding tests for TemplateManager.
Refactoring of TemplateManager, changing name from getTemplate -> getResult.
Adding tests to FileNameExtractor.