Salaam to all my Muslim brothers and sisters. Hello everyone else

Before or after marriage to your husband/wife, would you ask them to take an STD Test? On my other thread, "Does it really matter if I marry a virgin or not?" I gave my opinion and you gave me wonderful answers Alhumdulillah. I told the mod to close thread before it got out of hand... But some of you said that THIS IS A MUST TO BE SAFE?

In Islam, The Prophet Mohammed (May Peace Be Upon Him) mentioned a few quotes stating that the wife/husband should keep their past sins and relationships a secret from their spouse so it doesn't harm the marriage. But some of you said that an STD Test should be taken by both Husband and Wife to ensure safety...

Isn't that haram as it might bring answers to that question?

My opinion; No, an STD test shouldn't be taken by husband nor the wife. It can complicate the marriage and could pose answers to this question which no husband/wife wants.

Please give your opinions. I'll be happy to read all of them and give my opinion after Zuhr namaaz.