Genetic testing for cancers