Add tests for top, intermediate, and primary events.