test(transport): session in tests of transport reworked