Since you reuse this contextMenuEvent frequently, maybe we can declare outside the test case