Tests replaying events