You can use reagent tests, they won't tell you exactly how pure a sample is, but the speed of the reaction is usually a good indicator.
You can buy a kit at www.dancesafe.org
If you weigh out your MDMA using a mg scale or better, do a perfect acetone wash, then reweigh it, it should give you a damn good estimation of purity.