This is usually caused by over saturation on your ISP’s network.
Speed tests ping a server very close to you because it’s checking the fastest the connection can possibly go, not how stable it is. Additionally, the ping to the test server doesn’t compare to a ping to the WoW server.