fix the test to see if user is given upload rights