fixed use swap test