[DB] Added << operator on Events.
[DB] Added test cases for id generation and printing.