Added regression test for copy() return callback on error
Merge pull request #39 from ulikoehler/newtest

Added regression test for copy() return callback on error