Porting some tests from 2.0, changed MemoryPoolWriter binary write funct...

...ion to WriteRawBytes
Why?