             s.removeItem(1);
             assertEquals(s.length, 1);
             assertEquals(s[0], 2);
+
+            var result:Boolean = s.removeItem(-1);
+            assertEquals(s.length, 0);
+            assertEquals(result, true);
+
+            assertEquals(s.removeItem(0), false);
         }
 
         [Test]

            e.addItem(4);
            assertEquals(e.length, 2);
            assertEquals(e.second, 4);
        }

        [Test]

        public function testSet():void
        {
            var s:Stream = $(1, 2, 3);
            s.setItem(3, 0);
            s.setItem(4, -2);
            s.setItem(1, 2);
            assertEquals(s[0], 3);
            assertEquals(s[1], 4);
            assertEquals(s[2], 1);
        }

