A multiple variance ratio test using subsampling