Fixed OpenMP error: all tests are now passed.