Adding "npm run coverage"
Adding additional test properties to increase code coverage.
Fixing implementation now that bugs have been revealed.
Removing an extra newline.