Advanced Swapping and Test