First event unit test working.
Added unittest for events + benchmarking.