Add tests on tree about instances
Merge remote-tracking branch 'origin/erik' into dev
Implements getSubNodes and getAllSubNodes