<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_param(self, param_key, param_val):
 """ adds parameters as key value pairs """

        self.params.append([param_key, param_val])
        if param_key == '__success_test':
            self.success = param_val