[ticket/12561] Added test for "after"

PHPBB3-12561