[ticket/13297] Add tests for long URL and for punctuation mark appended to URL

PHPBB3-13297