test generateList