testOfSwap