Testutils for reports should munge resource events to a set

The order of the resource events returned by an event query
does not guarantee order; thus, we need to munge the results
into a set before we do comparisons in tests.