Negative test of caching pinned pieces calculation