use npm test for better compatibility