Add tests for wfParseUrl()

Follows-up Ife07d6e2 (a7c103a).

Change-Id: Ie32cf604959829904fb8661347edbbd94091d84b
Merge "Add tests for wfParseUrl()"