Add a test case for `copyPointCloud()` bug