Add tests for changing settings