Added upload unit test