Upper tail test