Fix test for #286 

The old test didn't didn't test the __all_triples method as the predicate wasn't None.
Will probably break in py3.