add test for github service

only sad paths tested, other are to be done
Merge pull request #291 from reviewninja/test/service/github

add test for github service