The spin test I use is to put a CD in with the label right side up and then put in in and let it read it. If the CD rotation is the same when it ejects then I know to replace the drive. That's a rare failure but does happen.

As to CODE 10 I use the same fixes as CODE 39. More at