updated tests to use config