Fix add_instrumentation test.