added exit on random test error