add test for single leaf