Renamed test folder, implemented rudimentary test of transport functions, fixed 2 bugs