Refactoring 'Transport' unit tests

The problem was in the way I was relying on the 'sender()' in the
'TCPTransport' actor. Now the client and the TCP manager actors, which
are provided at creation time, are used directly instead.