Expanded tests for numberOfChildren and parentList