Added tests for events on single_stat.

Covers the missing logic that was never tested.

Added tests for how we deal with arrays from matrix collections.