Updated documentation, tests and package.json