Test Github API response for errors