test append & truncation

- write without append automatically truncates (even before writing the 1st byte)
- we can't really "rewrite" in the middle of buffer, a disabled test tries to do this (but fails yet)