fix registered ctest command to return error code when tests are failing