Add tests for counting packages and errors/warnings.
Add tests for handling non-existant packages.
Add tests for explaining error message identifiers.