Added support for 'npm test'