Added full tests for GitHubPublisher
Style fixes.