Making Send a little more testable
-Fixing some bugs
Improving tests
Adding travis and coveralls.