add test for swap of any