add tests for config commands