Fixing unit tests and small bug

... only OperatorParallel is failing consistently now, and OperatorPivot.testPivotEvenAndOdd non-deterministically.