test chain_unchain