(test) Tested chain_exit.