Fixing tests in test/ (except for head_crop, for which we need a debug mode for ParallelPDU).