added new assertion into test_contract_metric1