improving the _what test case (counts how many times it returns the wrong leaf)