[ticket/12370] Fix functional notification test and remove unneeded requests

PHPBB3-12370
[ticket/12370] Add unit tests for topic notifications

PHPBB3-12370