Tests for index.js
Update readme
All tests passing
Update package.json