added spec for Transaction object