Adds test for root and object_root changes.