Add test script

Added a test script to package.json.