Fix tests/sim.