Added new test case for transport code, some other minor changes