Fix test for atomic