import org.junit.Test;

import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertEquals;

public class IncrementArbitraryPrecisionIntegerTest {

    private List<Integer> input;
    private List<Integer> incremented;

    @Test
    public void incrementInteger1() {
        input = Arrays.asList(1, 2, 9);
        incremented = Arrays.asList(1, 3, 0);
        test(input,incremented);
    }

    @Test
    public void incrementInteger2() {
        input = Arrays.asList(9,9,9,9,9,9,9);
        incremented = Arrays.asList(0,0,0,0,0,0,0);
        test(input,incremented);
    }

    @Test
    public void incrementInteger3() {
        input = Arrays.asList(8,9,9,9,9,9,9);
        incremented = Arrays.asList(9,0,0,0,0,0,0);
        test(input,incremented);
    }

    private void test(List<Integer> input, List<Integer> incremented) {
        IncrementArbitraryPrecisionInteger.incrementInteger(input);
        assertEquals(incremented, input);
    }


}
@@ -64,16 +64,52 @@
 il.List;
+%0Aimport java.util.stream.Collectors;
 %0A%0Aimport
@@ -344,29 +344,39 @@
 t = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B
 1, 2, 9
+%7D
 );%0A 
@@ -400,32 +400,43 @@
 d = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B
 1, 3, 0
+%7D
 );%0A
+%0A
     
@@ -535,30 +535,39 @@
 input = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B
 9,9,9,9,
@@ -563,32 +563,33 @@
 %5B%5D%7B9,9,9,9,9,9,9
+%7D
 );%0A        incre
@@ -597,30 +597,41 @@
 ented = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B1,
 0,0,0,0,
@@ -627,32 +627,33 @@
 %7B1,0,0,0,0,0,0,0
+%7D
 );%0A        test(
@@ -743,30 +743,39 @@
 input = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B
 8,9,9,9,
@@ -779,16 +779,17 @@
 ,9,9,9,9
+%7D
 );%0A     
@@ -809,22 +809,31 @@
 d = 
+get
 Array
-s.as
 List(
+new int%5B%5D%7B
 9,0,
@@ -841,16 +841,17 @@
 ,0,0,0,0
+%7D
 );%0A     
@@ -1074,10 +1074,190 @@
 %0A    %7D%0A%0A
+    private List%3CInteger%3E getArrayList(int%5B%5D arr) %7B%0A        return Arrays.%0A                stream(arr).%0A                boxed().%0A                collect(Collectors.toList());%0A    %7D
 %0A%7D

Corrected the test for IncrementArbitaryPrecisionInteger