Add tests for ELEMENT_EVENT_SPOOLED_NOT_ALLOWED and ELEMENT_EVENT_EXCEEDED_MAXLIFE_ONREQUEST events. The latter is not functional.