added tests for BGPChain