added spec for Purchase object