Fixed splicing error
Fixed key exchange, fixed jid resource suffix on tests, removed debugging prints
Updated verbosity on nosetests
Adding edge-cases to tests