maybe fix compress_url error in tests