Fix crash for instrumentation test

Is this change relevant to this fix?