Added file upload validation & test
Permissions validation & test