add test for parent option