Add flush tests.
Implement unlink. Untested.