Dispatcher: better static matching test