Fix unittests for ActionsMenuBuilder