Tests to extendedTree algorithm added