Random tests
Addedid initial authorisation and upload functions