[FEATURE] Migrate issues controller tests

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