[ticket/12610] Add test for the base case

PHPBB3-12610