Tests for parent.