cleanup merge request #3

move csv control setting to own method
cleanup docs for merge request #3
fix method name
add tests for merge request #3