Add StaticEventSubscription static check test