[FEATURE] Migrate context menus controller tests

Implements [ticket 2218](https://www.openproject.org/issues/2218)