Fix in member set::swap and addition of test.