Extended swap_arrays test, checking that boost::swap does correctly exchange the values of its arguments.