simplfied upload test logic