add package.json for listing the dependencies
add more test to g2