configuration validation and unit tests