Remove unused code from base_node_test_case