added delete function

added delete function to testmap.modue