add tests for parent creation