multi type tests
fix swap instruction