fixes #17207: fix Tree openOnDblClick regression

added functional tests for openOnClick and openOnDblClick