Fix preserve swap test case. It now succeeds