add npm test script
Merge branch 'master' into separate_applescript_files