Additional tests and cleanup
Always use TestHelpers.AssertEqualBytes to assert for equal byte arrays
Verify that no writes outside the ArraySegment occurred