MDL-34472 unittests: Make sure a debugging is thrown when get_context_instance() is called