tests for tree selection fixed