Fix error counting
Some test results were not taken in account on the return value of their functions, making that ctest would say they work even if they did not.
Some test results were not taken in account on the return value of their functions, making that ctest would say they work even if they did not.