add package.json and some tests