fix tests to reset configuration