Select the proper context tab when a clip is selected
tests: Add unittest for Selected