tests: Add misc-writetest