Bug 858399 - context menu should work in panels

- unit test added