add main for test client