test: add a test that fails because of #3

Two targets that have the same fallback target.
lib: fix #3 in `State.make_target_die`