Bug 858399 - context menu should work in panels

Tests added for `contextMenu` options (see pull #1542).

yeah, I was thinking the same, we're already use similar functions in other test. However, I wasn't sure where a function like that would belong `test/event/helpers` maybe? Or maybe in the `sdk/` some `events` stuff too?