Update testability; fix some bugs.
Add transport tests.
Add more tests; parameterize old tests.
Add more tests.