implement tests for BNSortedSection