Smart-parent test