Test Rest API for PZ