fix exit code of test runner