We should assert that the right data is written, not just that some data was written.