move .module-template to test directory
added tests for process_dirs() and process_files().