report exit code when failing a test