Factors out make_event test helper