Added memory stream test

and it passes!