add tests for config