Improvements to test framework
Fix interact_unicode test
Hopefully fix problem with test_sendcontrol on Travis