Improve deployment test reliability