Test that the result of createEvent has its attributes initialized corre...

...ctly.