Convert testing step type from 'when' to 'step'.