Added a test case for #567
fix single document flush with a document scheduled for removal. fixes #567 #755
Merge pull request #756 from doctrine/tystr-remove-single-document-1

Fix remove and flush of single documents