wrapper for testing context actions both with CAB and legacy context menu