Refactor user specs
Refactor the tests for GithubClient