add events test to flow