Add tests for config checks.