Add a hook for tweaking cost estimates during testing.