some changes to the spec files of takeaway_spec