Wouldn't it make more sense to handle this in the step where you set the fake youtube server's response time? I would expect that the step would save the old `time_to_response` into a temporary variable, set the new `time_to_response` based on the text in the feature file, and then set up a cleanup handler to run after the scenario to reset `time_to_response` to the content of the temporary variable. @wedaly: does Lettuce support this type of thing?