tests considering special chars and  arrays with empty values.