Show NULL pointers as "nil" in trace output

Fix a test case that asserted that NULL strings should be shown as "".
2 files changed