Is there a timing issue? When I comment out the deletes, the test passes.