test graph and BT framework