Add test "casting descendants"