added ignore file
changed tests. added script to package.json so that "npm test" will work