[ticket/12589] Add test searching in a non absolute directory

PHPBB3-12589