Add test for verifying xmm state is preserved