Tests: fix list generator tests according the latest changes