atomic long working

all tests pass