Fix raven unit test

sendEvent(EventBuilder) now returns the UUID of the generated event
create a mock to avoid a NPE and test the returned UUID