Fix ListGenerator test.