Unit test for AddParamAction