Add test case for swizzling.