Merge "stats_event.h/c tests"