Added additional tests to catch non atomic operations