Fast Threshold Tests for Detecting Discrimination