refactor add debug info to remove_node test