Clean up GithubApi tests

* add a test to catch the validation error on team creation scenario