implement delete node test