what value is `cost` set to? We need to make sure that every test that modifies the `cost` actually resets it to it's original value. Otherwise we still have the global state being leaked.