Adding `npm run lint`
Fixing linter complaints.
Run linter as part of tests
Improving code coverage.