update docs
add a test for working config