A test client for CTP