add package.json and basic tests