[TEST] return the correct transport instance in mock transport