test root related type along with nested