added ContractSettings tests