switched to using `npm test` command for running tests
updated tests/readme.md
Merge pull request #95 from slang800/tests

use `npm test` to run test scripts
started off by fixing the regex issue... ended up fixing a bunch of issues with `;`'s at the end of lines & formatting...
also, now `man roots` works, so this closes #93 (not sure how this is fixed, but it works)
added newlines at the end of each file & other small fixes
more fixes... improving code quality
switched to `typeof` method for checking for `undefined`