Fix getdescendents.

Add test case for previous commit.