added test for java.util.ArrayList