Fix test after change in code.

We no longer have the pick-object tool button. One should just click in the 3D
view. Updating the test accordingly.

Change-Id: I90321aa221811791513e40ab44b48cd46852fee1
Merge topic '14046_fix_selection_issues' into next

0a76a76 Fix test after change in code.
Fix warnings.

Change-Id: I2c75614ce7e8a09f5ac243e5f168cf9bec0e6399
Merge topic '14046_fix_selection_issues' into next

7683ae7 Fix warnings.