Add test example for AtomicReference.new