Fixed test that randomly crash