What tests to take for ecstacy?

I've never used tests before but figured that it sounds like something you should do.

Thoch test/tests should I use for ecstacy and what exactly is it that I'm getting by testing?