Fixed unit test: ns_printf() does not 0-terminate send buffer