Return string from ->write
0.006: Idempotency and test fixes