@Test
    public void testExist() {
        List<String> list = new List<>();
        list.addToEnd("test1");
        list.addToEnd("test2");
        list.addToEnd("test3");
        for (String current : list) {
            assertTrue(list.exist(current));
        }
    }