working delete function
add test for member enumeration