updated ChainTest