fix phpspec with new datamap

Update spec following the modification in the datamap class