Add support for 'npm test'