Add tests for upload step controller

Bug: T78792
Change-Id: I2002479fe1ddc96fb0d6baf3d79dc6616419c880