Add tests to cover 100% of lib/eslint.js

High level of code coverage is a goal of release, so I've added tests and checked branches to cover 100% of lib/eslint.js