events: fixed event_message deletion (added case for attribute's events).
tests: added deletion of event message in events tests.
tests: test for attribute events added.