Test of Swap sequence component order and refactoring