[ticket/12732] Add unit tests for ALPHA_PUNCTUATION

PHPBB3-12732