Adapt tests to new fork-join model.

5 jobs from pure_fork_join in 27 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #3095
build_cmake

00:15

 
  Test
failed #3099
run_tests

00:12

failed #3096
run_tests

00:15

 
  Sanitizer
skipped #3098
run_address_sanitizer
skipped #3097
run_thread_sanitizer
 
Test run_tests
compilation terminated.
lib/pls/CMakeFiles/pls.dir/build.make:62: recipe for target 'lib/pls/CMakeFiles/pls.dir/src/pls.cpp.o' failed
make[2]: *** [lib/pls/CMakeFiles/pls.dir/src/pls.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'lib/pls/CMakeFiles/pls.dir/all' failed
make[1]: *** [lib/pls/CMakeFiles/pls.dir/all] Error 2
make: *** [all] Error 2
Makefile:140: recipe for target 'all' failed
./ci_scripts/run_tests.sh: line 9: ./bin/tests: No such file or directory
ERROR: Job failed: exit code 1