add test-bbc-segments.rb for bbc-segments correctness