Juan Lang : rsaenh/tests: Fix length of copied buffer.