[ticket/11445] make assert stronger by iterating over $expected_subscriptions

PHPBB3-11445