Add test for using templates in folders.