improved event::type tests