add delete logic in to document class
add deleteDocument test