test the chain