[TEST] Test for Gateways functionality (RT-1906)