Added tests for TypedHandlingSettings and DynamicHandlingSettings.
Added tests for DeferredHandlingSettings.
Added tests for BatchedHandlingSettings.
Added OfType<T> to IEvents.