GitHub: Finish up writing tests

Only for functions that don't require reaching out to the GitHub API.