Remove deprecated Github API methods

and add tests
ended up removing this since I didn't end up using it d2fd5b5