Shit Tests vs. Toxic Behavior

How do you tell the difference between garden variety shit tests and toxic behavior? How do you properly deal with them?
Shit Tests vs. Toxic Behavior