minimal flash_writer
update test.