Tests for URL encoding/decoding.