Swap test

Adds more cpp tests for particle-pair-swap.