simplify tests and add several from octokit.rb