adds tests for config switching