add testAndSet Command