Hi Niranjan,
If this function/extension is already being used by a test case, could you please temporarily remove it from the test case, save test case and hit Refresh on the function? That should allow you to add parameters.
This is only temporarily, we will be allowing changes to functions with references in a future release.
Regards,
Subject7 Team