added unit tests for config options