@Test
    public void testremove() {
        stems.add("a");
        stems.add("b");
        stems.add("c");
        stems.add("d");
        assertEquals("c", stems.remove(2));
        assertEquals(3, stems.size());
    }
Functional testing of StemList.

@author Steinar Knutsen
linguistics/src/test/java/com/yahoo/language/process/StemListTestCase.java