A Statistical Approach for Testing Cross-Phenotype Effects of Rare Variants