Add tests on tree about instances