Added edge case for URL pattern matching test