ArrayListTest compiles but fails