Fix broken test in SimulatorTest