leafTestEquality implemented