Adds tests
Adds test script to package.json