jUnit tests added. Changed createEvent(...) -> createAndAdd(...)