Allow selecting communication method in test client