add Swap() function and its function-test, which return multiple results.