Bug 825215 - Write tests for system/events.