Added tests for the transport module
Corrected ivalid type lol