Added EditContractTest