add tests for notification attributes method and event