[ticket/12661] Add all dir test

PHPBB3-12661