fix testswap view typo