fix two regression tests caused by recent changes to debug_nodes