Add new test for indirect parent matching