Updates tests/test_contractx.py file