Add an end-to-end overwrite test.