I've managed to fix one of the failing tests and narrowed down the problem of the others. (Only the second patch is different, but I've attached both for your convenience.) Best regards, Paul