Test config validation