[ticket/12009] Move valid extensions to tests to correct dir structure.

PHPBB3-12009