added test for call dispatching