Add test coverage and update package.json.