Just saying things "as a test" is indistinguishable from defending it online. Things like body language, tone and intent do not come across as easily.
That being said toxic people exist everywhere on the internet it's a flaw in our biology, we haven't adapted to communicating this way yet.
That being said there's a difference between a bad take like your above examples and condoning oppression and marginalization as some political groups have do.
One deserves to be defended vehemently.