Modality, expected utility, and hypothesis testing