testing swaps