Added unit tests for issues, repo_subscriptions and repo models