added tests for changing config