I have cleaned and flushed out one and it did ok. It just had sediment in it and it was leaking. If it doesn't work at all I would get a new one.
You could try swapping the wires on the dual water inlet valve. Then try the water dispenser. The water should go to the ice maker. This will tell you weather or not the ice maker valve is working and if the line is clear.