Implement unit test of Client model