[TESTS] Move connection logic to a separate method
[TESTS] Move connection logic to a separate method

adhearsion/adhearsion,renemendoza/adhearsion,renemendoza/adhearsion,adhearsion/adhearsion,kares/adhearsion,adhearsion/adhearsion,cloudvox/adhearsion,cloudvox/adhearsion,cloudvox/adhearsion,jicksta/adhearsion,adhearsion/adhearsion,cloudvox/adhearsion,kares/adhearsion,renemendoza/adhearsion