add more tests and cleanup configuration doc