Corrected test code selecting a node on the main treeview.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>