[ticket/11744] Helper function to assert notifications in base test

This also fixes tests

PHPBB3-11744