Add more test for MalformedURLException am: 8fb5c96082

Original change: https://googleplex-android-review.googlesource.com/c/platform/libcore/+/18234478

Change-Id: I6920f06bdd2908f9f2657d446509d927f183e3db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>