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

...ion to WriteRawBytes
Um, no? Don't make that change in here. That's random.