Generalized likelihood ratio tests for complex fMRI data