Test that adding children anchors correctly