Fixed multiple occurances of endpoints received from SP.
Removed mocked tree nodes.