Run tests before publishing