Add e2e test to upload scenario