Usually you can trigger the electromagnetic sensor if you ride over the edge of it; there's usually a visible seam in the pavement. You want to ride along the edge of the loop.
I have found that traffic lights with camera based detectors work pretty well in terms of detecting cyclists (without the paving over problem that loop detectors have).
https://en.wikipedia.org/wiki/Induction_loop#Vehicle_detecti...