test call delegate with params