The reason people are testing it is because it has potential anti-viral properties as well. Researchers discovered that ivermectin is a protease inhibitor - which means it can prevent viral replication when it comes to Covid. The problem, from what I understand, is that no one knows the dose required for that effect to occur, or whether the drug needs to be modified in some way to do so.
The new Pfizer anti-viral drug is based on the same protease inhibition mechanism and seems to work very well, but costs hundreds of dollars for a single round of treatment. So, finding a way to make ivermectin work would create an extremely cheap treatment.
You talk about misunderstandings but it's funny how badly you misunderstand the situation.
Sources:
https://pubs.acs.org/doi/abs/10.1021/acsptsci.0c00108#
https://pubs.rsc.org/en/content/articlelanding/2021/cp/d1cp0...