[feature/revisions] Add a unit test

PHPBB3-10755