implement TestRemoveChainedHeader