tested threadprivate and making ompcc tests work