restored test files and added dependencies to package.json