UPDATED writing more tests and adding details to the npm package json.