added client tests