fixed some unit tests but openmp is still flaky