Most non-electronically produced tracks will drift off the tempo sooner or later. You'll need to quantise the audio to get it to glue to the same timebase that the metronome is counting.
Seemingly it can be done to an extent in Garageband (from what I've spent 5 minutes Googling), but it seems to be more geared towards correcting timing in audio takes you're recording, rather than importing a whole song and detecting its timebase. Ableton is the only software I've used that's geared towards doing that.
Actually -
Mixxx (free DJ software) will analyse a library of tracks and attempts to detect their timebases for DJ mixing purposes - it should map a beat grid onto them which can be edited. I've not used it myself yet, but NoSleep has. Does it have a metronome you can switch on?
Though where that will leave you re. EZDrummer, I don't know. Mixxx supposedly supports VSTs, but I'd imagine it's more for effects than instruments. If you're just playing along (not recording your drums), you might have to have Mixxx running separately but simultaneously with the DAW that's hosting your drums plugin.