[TAC-154] add connection parsing and test setup factorisation