Tests factory failure with blank name