Test delete_member method