Implement npm test

Implement code coverage for the application.