Add missing header to ircd_string.h; add debug logging to test scripts.