fix ConcurrentChain bug + Payload bug + add test in ChainTests for portable