Fixed a unit test error and updated package.json.