Added new testing function to transfer arbitrary bytes

Of course, over the course of playing around using it, I realized
that I need to pre-allocate my memory anyway, so this wins me next
to nothing. But it may prove useful later, so I'll add it.