Add user-agent header and don't autoload tests