add extended loo[ test for tsort!