client tests working