add regression test for set_inverse_instance on add_to_target
instrumenter can't be cached because the app could be called from
different threads.