Add a test for self-swizzle.