Changed to slices in tests for memstream. Fixes #131
Merge pull request #132 from Ogeon/master

Changed to slices in tests for memstream