[TEST] Made sure that the parent exists (`foo` is the parent type and not `parent`)