Fix atomics test