Water Dispenser Solenoid burned out

No power to water/ice dispenser. Saw that the solenoid plunger wouldn’t move and the plastic around the solenoid was melted. So I figured I would just replace the solenoid but I saw in this forum that people say I should also replace the limit switch & control board. Since the control board is an expensive fix is there a way to test mine first to see if it is working?