added test for files_by_investigation template