add upload test api.