Test code in client