test with errors in pdl enhanceRest service