Run tests before upload