Add script for 'npm test'.