Make context creation a bit more tolerant

It uses the most argumentative constructor, so provide some acceptable
values.