run_tests() returns now error code of the latest test