passed spec for adding hash to an array
passed map methods