uncommented tests for get leafs.