Included instruction to run tests in README.md
Added some jsdoc blocks