removed unecessary deletes
added close/flush tests
added row delete calls