Updated tests and added packages.json