URN query parameters and fragment extraction + tests