fixing contextmenu tests