set up trio_prob and its test