[Android] Add test case for getUrl().

This patch is to add test case for getUrl().
Open a url, get the url on ui thread, compare it with the expected.
Merge pull request #1935 from wuhengzhi/getUrl_test

[Android] Add test case for getUrl().