test_chain.py 1 test fixed