add ChainBuilder tests