new tests. had to fix leafNodes method in supergroup