Merge pull request #82 from csmith/master

Add some unit tests for ErrorReporter.
Really minor style changes.