test that atomic differences are computed right for a small simple example