Add isolated test for ChildDeclaration