Fixed upload wizard tests

Change-Id: Ic86383e950311c427a7d61123e6b253f447f40e2