On the simultaneous anova and manova tests