Adapt test case because we default to dropping unrelated events.

The previous default was not dropping unrelated event, however, this
could cause memory leaks, so, the current default is dropping those
events.

We now test for both behaviours.
Check nested structures for state results.
Merge pull request #11657 from s0undt3ch/develop

Adapt test case because we default to dropping unrelated events.