Add new test for indirect parent matching

Why not just `return ret`?