Simplify test
Add unit tests for addIssue controller