add tests for issue service