add tests for adapter config