PP constraint

additional to #1237, targeted at 1.7.x
Should also test behaviour when :
 * there are no constraints (should pass everything)
 * there are multiple stash constraints (should pass if stash is any of those given, and not when anything else)