Updating pakcage.json and adding tests.