Edit: test_contracts.py