removed last parts of file upload
added scope test