write-to-disk testing