GUI-274: Add unit tests for sanitize_url method