Statistical Tests for Confounding