Propagating exit code for npm test