Tests still fail but these couple of debug Println's at least highlight where the problem is. Hopefully i'll pick it up again later tonight.