resource upload test cases