yes what we could do:
1) similarly iterate over $expected subscriptions i.e. 3 nested foreach loops
2) create something like https://github.com/phpbb/phpbb3/blob/develop/tests/test_framework/phpbb_database_test_case.php#L196 for associative arrays.
Any other ideas?