More tests added. Reopen tree items after update.

Re #7253.