A little more troubleshooting before you throw parts at the problem.
Plug your test lamp into the fan motor's power plug and see if you're getting power to the plug. If yes replace the fan motor, If no work back up the circuit to see where the problem is.