Self-supervised Learning and Graph Classification under Heterophily