Increased test coverage for core lib and formatters

Created a few test cases to increase the test coverage of `lib/rules.js`, `lib/cli.js`, and the jUnit formatter. This brings coverage from `lib/rules.js` and the jUnit formatter up to 100% and significantly increases coverage for the CLI.