Created PYEventType and some tests