Multivariate tests of association based on univariate tests