Add transport unit tests.
Fixes #40