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