Test control-worker using the nested state and chan signalling