adds tests for the eventgenerator