test pinned memory