Slightly changed code for testing purposes. Also some error return refactoring + code formatting
Added tests to transport + some formatting
Added tests for response
Refactored how you run tests