Tests for some zero-copy methods.