Set up for writing tests.
Add some tests, fix some bugs.
Adding more Transport class tests.