Add initial tests for template file creation