Test map/3 for atom_attrs and any dictionaries