Add tests for configuration.