test metric deletion