Comparisons between two- and three-dimensional models: gas injection and arc attachment