Actually test the And/Or/Not PDB selectors.

They have been Objects for some time and so should work fine in Python
without objects being prematurely freed.