add spec for upload_template_files

Change-Id: Ib144702a0da31a84cf24dc8f05ad4aa051eeb0fd