code duplication between the createAtomicMapAccessor and createGineGrainedAtomicMapAccessor, but I guess it's just a test..