Add github service tests

Use rewire to mock GitHubApi in order to mock the class
with our own test class.