Unit tests for Contract, Invitation, and Model API

Create unit tests for ContractAPI, InvitationAPI, and ModelAPI.