Added tests and simple interactive testing program
Merge pull request #4 from serathius/copy-to-send

Added tests and simple interactive testing program