implement tests for BNSortedDataController