Usually a clicking noise is a sign of a broken motor coupling. It is possible for the machine to "kinda" spin, but not actually get up to full speed. It will sound like its working but if have the lid open open while its washing or spinning, you may find that its actually not. However it will drain out the water.
To see the machine spin with the lid open, simply place a flathead screwdriver in the hole where the switch is. Don't force it into the hole too far, you don't want to damage the switch. Please don't put any body parts in the machine when it's spinning.
Let me know what you find