improved coverage in IoBuffer, various improvements