added test cases to array list test