Add tests for empty analytics server info and url-encoded params.
Fix pylint errors to get below limit.