test against chainfile