Fixed test for match with optional url parts