A General Test for Distortions in Performance Measures