Test cap deploy