Own class for eventid generator
Fixed tests. Random part to event generator