unittest for @event updated