Added testing of extract/erase node_ptr.