fixed unsendable compile error
fixed the tests
Merge pull request #1 from tupshin/master

fixed unsendable compile error