updates ```npm test``` to output coveage to html
refactor. simplified. 100% coverage. next()