Fixed compile issue in test client