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

...ion to WriteRawBytes
Might as well just use async/await. Same goes for the test below.