Creates unit test for Category.root_parent.