[feature/api] Added functional test to forum API

PHPBB3-11595