I'm surprised nobody has ever tried this before, but I suppose that's because they fear they'd end up with a completely silent recording. Playing devil's advocate for a moment, I suppose one might argue that the microphone is necessary as it is what is being electronically manipulated. I would suggest then that one remove or otherwise disable the microphone's diaphragm so as to eliminate the acoustic while maintaining the electric.
If the mic is what is being manipulated, that makes it much easier to deal with.
Speaking about a dynamic mic specifically, you have a diaphragm attached to a coil around a magnet. Sound waves make the diaphragm move. This in turn moves the coil. This in turn induces a voltage in the coil. It's those voltages we record to some medium.
Now reverse the process. Put voltage into the coil. This makes the coil move in relation to the magnet. This in turn makes the diaphragm move against the air. This device is commonly known as a speaker.
If voltages are being induced in the coil by some paranormal means, we will see the diaphragm move. The laws of physics say it has to move. That means we would have a visual confirmation of what is happening. With this basic knowledge I'm sure many people could devise some good tests.
However, this begs a very obvious question: If EVP is a matter of spirits or whatever inducing a voltate in a coil, how come our home speakers never make any noise on their own? It's the same principle.
Then again, if the spirits can record "directly to the media" why does a recording device have to be involved at all?