[ticket/11495] Add proper testing of item_parent to tests

PHPBB3-11495
[ticket/11495] Do not reset item_parent if not required

PHPBB3-11495
[ticket/11495] Remove forum_parents from tests where it is not required

PHPBB3-11495