event model with model tests