fix settings error min/max switched.
rename BufferSize in fluent api
add some client tests