Enable tests
Created by: tammojan
This PR enables two tests, and fixes an issue with nthreads initialization.
One question before merging: I probably did the CMake dependencies wrong, since now 'make -j
' gives problems if stuff is built in the wrong order. Should we fix this first?