random tests generator + fixes about cached list generator