adds tests for the eventgenerator

Closes #105