Fix several unit test failures, mostly due to the print statement, and prevent traceback when using C tracer. (It still doesn't collect test callers, but at least the program runs.)