Test commit using the contract from lab6.