PP service encoding + tests