adjusted tests to use the promise from setconfig