Been there, done that, got the t-shirt.
This cat of ours has been known to go through the oesophagus massage thingy and apparently swallow the pill only to spit it out, all wet and slimy, over an hour later.
Sod it, if she's got worms - she's got worms.
