closed loop test