add script to run tests to package.json
code clean up - no logic changes
jshinted tests
completed jshinting all code
adds verify method and tests