Fixed test for legacy uri parsing