[Generator] [NestedSet] Refactor tests to avoid fatal errors