Add unit test for world mirroring.