completed tests for swap ii