fix tests for generic argument when notify events