Add unit tests for issueController