TST: the code to compute the posterior joint distribution of endpoint states on edges now passes tests