MDMA is a distinct drug and doesn’t usually interfere with drug tests for other drugs, but this may not apply to all types of drug tests.