add test suite for ext-graph-pairs.rb