Add factory throw tests for all other supported contexts (PerLookup,
PerThread, Immediate)