am d2d90ecc: Merge "Make unit test tell if a method is a leaf."

* commit 'd2d90ecc099eee55b2c9b38c921951ff9288b020':
  Make unit test tell if a method is a leaf.