unit-tests: Added test for seg_contract_manager