TestClient abstraction

[#59676046]