Atomic: Add testAndSet