Nodes from cache could be changed by traverser, if no objectID specified. So it is required to return copy of cache's slice. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
Also, write tests. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>