Added prototype of 'Event()' class and appropriate unit tests