Fixed npm test to exit with 0 exit code