php client tests