add unit test for call method of uploadtoserver view.