Added specs for getNestedChildren