Augment extern_error test to set and test a specific value for user_context