Setting null as URI fragment doesn't remove the fragment in the browser (#11312)

Tests only. Because this defect was fixed during fixing #12207.

Change-Id: If47f06d30fd3c8318df9b3197cea5771a1b38063