Improve the test for WinRMUri test.