tests: Added a test suite for the Transport class

* Testing connection management (i.e. pruning dead connections.)

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>