Testing TypeSwap operator.