Multivariate Hypothesis Testing with an Application to EEG Signals