Add the possibility to change the expected return code in CTest tests (needed for macro execution)