Run tests before npm publish