Move generate_uuid out of callback into new

* Set instance variable for Event arguments
* Correct tests