Added test which currently fails for clearing parents.